package com.gec.model;

import java.sql.ResultSet;
import java.sql.SQLException;

public class Manager {
	private String id;
	private String username;
	private String password;
	private String createDate;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getCreateDate() {
		return createDate;
	}
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	public Manager(ResultSet rs) throws SQLException {
		super();
		this.id = rs.getString("id");
		this.username = rs.getString("username");
		this.password = rs.getString("password");
		this.createDate = rs.getString("createDate");
	}
	@Override
	public String toString() {
		return "Manager [id=" + id + ", username=" + username + ", password=" + password + ", createDate=" + createDate
				+ "]";
	}
	
}
